package com.dao.secondary.device;
import com.model.domain.device.GetDevicePcbSensorInfoDO;
import com.model.pojo.device.DevicePcbSensorInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DevicePcbSensorInfoMapper {
    int deleteByPrimaryKey(@Param("devicePcbSensorInfoId") Long devicePcbSensorInfoId);

    int insert(DevicePcbSensorInfo record);

    int insertSelective(DevicePcbSensorInfo record);

    DevicePcbSensorInfo selectByPrimaryKey(@Param("sensorId") Long sensorId);

    int updateByPrimaryKeySelective(DevicePcbSensorInfo record);

    int updateByPrimaryKey(DevicePcbSensorInfo record);

    List<DevicePcbSensorInfo> selectList(GetDevicePcbSensorInfoDO getdevicePcbSensorInfoDO);

    void insertListSelective(List<DevicePcbSensorInfo> devicePcbSensorInfoList);

    void updateListSelective(List<DevicePcbSensorInfo> devicePcbSensorInfoList);

    int has(@Param("devicePcbSensorInfoId") Long devicePcbSensorInfoId, @Param("isDelete") Byte isDelete);
}